/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const commonsRouter = {
  path: '/common',
  component: Layout,
  redirect: 'noRedirect',
  name: 'ComponentDemo',
  meta: {
    title: 'Commons',
    icon: 'component'
  },
  children: [
    {
      path: 'appids',
      component: () => import('@/views/commons/appids'),
      name: 'AppIds',
      meta: { title: 'AppIds' }
    },
    {
      path: 'uids',
      component: () => import('@/views/commons/uids'),
      name: 'UserIds',
      meta: { title: 'UserIds' }
    },
    {
      path: 'links',
      component: () => import('@/views/commons/links'),
      name: 'Links',
      meta: { title: 'Links' }
    }
    // {
    //   path: 'wikis',
    //   component: () => import('@/views/commons/wikis'),
    //   name: 'Wikis',
    //   meta: { title: 'Wikis' }
    // }
  ]
}

export default commonsRouter
